import request from '@/utils/request'

//记录台账列表
export function fetchList(query) {
    return request({
        url: '/preserve/api/preservePlan/query/page/record',
        method: 'get',
        params: query
    })
}
//记录台账记录详情列表
export function fetchList1(query) {
    return request({
        url: '/preserve/api/preservePlanItem/query/list',
        method: 'get',
        params: { planId: query }
    })
}
//记录台账记录详情单条数据列表
export function fetchList2(query) {
    return request({
        url: '/preserve/api/preserveTaskItem/query/page',
        method: 'get',
        params: { planItemId: query }
    })
}
//详情最内层确认合格
export function makeSurePreserveItems(query) {
    return request({
        url: '/preserve/api/preserveTaskItem/confirm',
        method: 'post',
        params: query
    })
}